package cn.ren.hai.start;

import cn.ren.hai.base.EnableBase;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author 57556
 */
@SpringBootApplication(
        scanBasePackages = {"cn.ren.hai"}
)
@EnableBase
//@MapperScan("cn.ren.hai.base.mapper")
@MapperScan(value = {"cn.ren.hai.base.mapper","cn.ren.hai.base.db"})
public class StartApplication {

    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);
    }

}
